package cn.rkylin.oms.common.event;

/**
 * 事件处理配置
 * 
 * @author wangxiaoyi
 * @since 2017年4月13日 3:44
 */
public class EventHandlerConfig {

	private int position;
	private EventHandler handler;
	private boolean isDefer;

	public boolean isDefer() {
		return isDefer;
	}

	public void setDefer(boolean defer) {
		isDefer = defer;
	}

	public int getPosition() {
		return position;
	}

	public void setPosition(int position) {
		this.position = position;
	}

	public EventHandler getHandler() {
		return handler;
	}

	public void setHandler(EventHandler handler) {
		this.handler = handler;
	}
}